# 查找当前目录和子目录下的所有.c文件  
file(GLOB_RECURSE SOURCES "*.c")  

idf_component_register(SRCS ${SOURCES}  
                      INCLUDE_DIRS "include" 
                      "base_button/include"
                      "oled_show/include" 
                      "oled_show/include/show_contnet/gif" 
                      "oled_show/u8g2/include"
                      REQUIRES driver)